import instance from '../utils/request'

const changeuserinfo = data => {
  return instance({
    url: '/v1_0/user/profile',
    method: 'patch',
    data
  })
}
const changeusericon = data => {
  return instance({
    url: '/v1_0/user/photo',
    method: 'patch',
    data
  })
}
export { changeusericon, changeuserinfo }
